package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 
 * 基础数据维护
 */
/**
 * @author zhuliang
 * @version V1.0
 * @Description: 基础数据维护
 * @date 2020-11-30 20：14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CcmsSmartleasingBasicdata implements Serializable {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "pk_basicdata_id")
    private String pkBasicdataId;

    @ApiModelProperty(value = "类别编码")
    private String categoryNumber;

    @ApiModelProperty(value = "类别名称")
    private String categoryName;

    @ApiModelProperty(value = "父级ID")
    private String parentItemId;

    @ApiModelProperty(value = "数据名称")
    private String itemName;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;



    @ApiModelProperty(value = "所有的权利人信息（只查询）")
    @TableField(exist = false)
    private List<CcmsSmartleasingBasicdata> obligeeList;

    @ApiModelProperty(value = "所有所属区域信息（只查询）")
    @TableField(exist = false)
    private List<CcmsSmartleasingBasicdata> regionList;

    @ApiModelProperty(value = "所有的房源类型信息（只查询）")
    @TableField(exist = false)
    private List<CcmsSmartleasingBasicdata> housingSourceTypeList;

    @ApiModelProperty(value = "所有的物业公司信息（只查询）")
    @TableField(exist = false)
    private List<CcmsSmartleasingBasicdata> propertyCompanyList;

    private static final long serialVersionUID = 1L;
}
